package com.sky.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 订单概览数据
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderOverViewVO implements Serializable {
//    订单状态 1待付款 2待接单 3己接单 4派送中 5己完成 6己取消 7退款
    public static final Integer WAITING_PAYMENT = 1;
    public static final Integer WAITING_CONFIRM = 2;
    public static final Integer ORDER_CONFIRM = 3;
    public static final Integer ORDER_DELIVERY = 4;
    public static final Integer ORDER_COMPLETE = 5;
    public static final Integer ORDER_CANCELLED = 6;
    public static final Integer ORDER_REFUND = 7;

    //待接单数量
    private Integer waitingOrders;

    //待派送数量
    private Integer deliveredOrders;

    //已完成数量
    private Integer completedOrders;

    //已取消数量
    private Integer cancelledOrders;

    //全部订单
    private Integer allOrders;
}
